# -*-coding:utf-8-*-
# Created by ccp on 2018/4/27.

def add(xTuple):
    sum = 0
    for i in xTuple:
        sum = sum + i
    return sum



if __name__ == '__main__':
    a = (1, 2, 3)
    print(add(a))
